import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const MenuStore = defineStore('MenuStore', () => {
  const menuList = ref<any>([])
  const menuListInit = (payload: any) => {
    menuList.value = payload
  }
  return { menuList, menuListInit }
})